package com.rui.patterns.prototype.test;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : Citation
 * @createTime : [2022/2/20 17:41]
 * @description : [描述该类的功能]
 */

public class Citation implements Cloneable {

    private Student student;

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public Citation clone() throws CloneNotSupportedException {
        return (Citation) super.clone();
    }

    public void show(){
        System.out.println(student.getName() + "同学在2020年第一学期中表现优秀，被评为三好学生，特发此状");
    }
}
